import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {ImagesModule} from '../images/images.module';

import {ListPageComponent} from './list-page.compoent';
import {StatusSelectorComponent} from './status-selector/status-selector.component';
import {SelectorComponent} from './selector/selector.component';
import {ButtonsComponent} from './buttons/buttons.component';
import {CascaderComponent} from './selector/selector-components/casecader/cascader.component';
import {CascaderService} from './selector/selector-components/casecader/cascader.service';
import {CascaderMultipleComponent} from './selector/selector-components/casecader-multiple/cascader-multiple.component';
import {CascaderMultipleService} from './selector/selector-components/casecader-multiple/cascader-multiple.service';
import {PredefineForProjectService} from './predefine-for-project.service';

import {AfbmModule} from '../../afbm/afbm.module';
import {BatchedModalComponent} from './other/batched-modal/batched-modal.component';
import {DatePipe} from '@angular/common';
@NgModule({
    imports: [CommonModule, FormsModule, NgZorroAntdModule, ImagesModule, AfbmModule],
    declarations: [
        ListPageComponent,
        StatusSelectorComponent,
        SelectorComponent,
        ButtonsComponent,
        CascaderComponent,
        BatchedModalComponent,
        CascaderMultipleComponent
    ],
    providers: [PredefineForProjectService, CascaderService, CascaderMultipleService, DatePipe],
    exports: [ListPageComponent, CascaderComponent],
    entryComponents: [BatchedModalComponent]
})
export class ListPageModule {
}
